﻿using System;
using System.Reflection;

namespace NMapper
{
    public interface IDbValueMapping<TDatabase, in TDatabaseEntity, out TDbValue> : IDbValueMapping<TDatabase>, IDbSelector<TDatabase, TDatabaseEntity, TDbValue>
        where TDatabase : IDisposable
    {
    }

    public interface IDbValueMapping<TDatabase> : IMapping<TDatabase>, IDbSelector<TDatabase>
        where TDatabase : IDisposable
    {
        PropertyInfo TransientProperty { get; }
    }
}